package com.wjh;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 支付服务 启动类
 *
 * @date 2023-06-26
 * @since JDK 17
 * @author wenjianhai
 */
@MapperScan(value = { "com.wjh.mapper" })
@EnableDiscoveryClient // nacos第三步启动类加注解
@EnableFeignClients
@EnableTransactionManagement
@EnableAsync
@SpringBootApplication
public class PayApplication {
	public static void main(String[] args) {
		SpringApplication.run(PayApplication.class, args);
	}
}